package com.hs.panghu.dao;

import com.hs.panghu.entity.Goods;
import com.hs.panghu.entity.Shop;

import java.util.List;
import java.util.Map;

public interface GoodsDao {
    public int insertGoods(Goods goods);
    //修改
    public int updateGoods(Goods goods);
    //删除
    public int deleteGoods(Integer goods);
    //分页多条件查询
    public List<Goods> selectGoods(Map<String,String> map);
    //多条件查询总条数
    public int selectGoodsCount(Map<String,String> map);
    //商品上下架
    public int updateStatus(Goods goods);
}
